/***
 * R-ZBZB-202109280789713：添加下载图标，增加下载列表页面
 */
import request from "@/utils/request";
export const service = () => {
  return !!JSON.parse(localStorage.$loginInfo).tenantId ? "/event" : "/ttevent";
};
//queryFlowLink
export function queryFlowLink(query) {
  return request({
    url: service() + "/flow/alarm/queryFlowLink",
    method: "post",
    data: query,
  });
}

//queryNextLink
export function queryNextLink(query) {
  return request({
    url: service() + "/flow/alarm/queryNextLink",
    method: "post",
    data: query,
  });
}
//checkAlarmOrder
export function checkAlarmOrder(query) {
  return request({
    url: service() + "/alarm/order/checkAlarmOrder",
    method: "post",
    data: query,
  });
}
